package com.neoCalf.neoFile.service;


import com.neoCalf.neoCommon.model.dto.UploadDto;
import com.neoCalf.neoCommon.model.vo.UpLoadImageVo;
import org.springframework.web.multipart.MultipartFile;

public interface UpLoadService {
    /**
     * 上传图片
     *
     * @return
     */
    UpLoadImageVo uploadImage(String userId, UploadDto uploadDto);

    /**
     * 删除图片
     *
     * @param url
     */
    void deleteImage(String url);
}
